<template>
  <div>
    <Image  :src="'data:image/jpeg;base64,'+value.cval"></Image >
  </div>
</template>

<script>
  import {Image } from "vant"
export default {
  name: 'FieldBinaryImg',components: {Image },
  props: {
    field: {
      type: Object,
      default() {
        return {}
      }
    },
    model: {type: String, default: ''},
    id: {type: Number, default: 0},
    edit: {type: Boolean, default: false},
    saveFast: {type: Boolean, default: true}
  },
  inject: ['value'],
  computed: {
    pvalue: function () {
      return this.value
    }
  }
}
</script>

<style scoped>

</style>
